ShaderVariablesLayout.this

Use the layout name for mentioning the uniform/cbuffer block name.

Its members are the ShaderVar* passed

class ShaderVariablesLayout
this

Parameters

layoutName string

From which block it will be accessed on the shader

t ShaderTypes

What is the shader type that holds those variables

hint uint

Use ShaderHint for additional information, multiple hints may be passed

variables ShaderVar*[]

Usually you won't pass any and use .append for writing less

Meta